﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Sys.DTO.Roles.LTMAutoMapper
{
    /// <summary>
    /// 配置Role的AutoMapper
    /// </summary>
    internal static class CustomerRoleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            //    configuration.CreateMap <Role, RoleDto>();
            configuration.CreateMap<Role, RoleListDto>();
            configuration.CreateMap<RoleEditDto, Role>();
            configuration.CreateMap<RoleListDto, RoleEditDto>();
            // configuration.CreateMap<CreateRoleInput, Role>();
            //        configuration.CreateMap<Role, GetRoleForEditOutput>();
        }
    }
}